package com.tbh.annotation.java.impor;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConfigLifeCycle {

    @Bean(initMethod = "init", destroyMethod = "destroy")
    public A a() {
        return new A();
    }


}